/*
 * Logger.hpp
 *
 *  Created on: 23 mei 2013
 *      Author: maarten
 */

#ifndef LOGGER_HPP_
#define LOGGER_HPP_

#include "Message.hpp"

class Logger {
public:
	virtual ~Logger();
	static Logger& getInstance();

	void log(std::string aString);
	void log(Message aMessage);
	void logImportant(std::string aString);
private:
	Logger();
	static Logger pLogger;

	bool display;
	bool file;
	bool important;
	int logfile;

private:
	std::string getLogTime();
};

#endif /* LOGGER_HPP_ */
